package org.gd.hellojson.jackson;

import org.codehaus.jackson.map.ObjectMapper;
import org.codehaus.jackson.node.ArrayNode;
import org.codehaus.jackson.node.JsonNodeFactory;
import org.gd.hellojaxb.utils.Marshall;

import java.io.IOException;

/**
 * @author Gorhover
 * @version 1.0-SNAPSHOT
 * @since 2013-09-17 12:21
 */
public class jacksonTest2 {

    public static void main(String[] args) throws Exception {
        GetterModel getterModel = new GetterModel();
        System.out.println(new ObjectMapper().writer().writeValueAsString(getterModel));
        System.out.println(Marshall.getInstance().marshal(getterModel));
    }
}
